<?php
abstract class Bliss_Rcon_Protocol_Abstract
{
	abstract public function encode($command, $args);

	abstract public function decode($data);
	
	protected function encodeInt32($size)
	{
		return pack('I', $size);
	}

	protected function decodeInt32($data)
	{
		$decode = unpack('I', $data);
		return $decode[1];
	}
}
?>